<div data-role="page">

<div data-role="header" data-position="fixed" data-theme="b">
	<?if (!$back && !$home):?>
		<img class='left-align' id='image-logo'border='0' alt='logo' src="<?=base_url().'img/menulogo.png';?>"/>
	<?endif;?>
	<h1 data-inline="true"><?=$title?></h1>
	<?if ($settings):?>
	<a href="<?=base_url()?>settings/" data-role="button" class="ui-btn-right" data-icon="gear" data-iconpos="notext"  data-inline="true"></a>
	<?endif;?>	
	<?if ($back):?>
	<a href="<?=base_url()?>settings/" data-role="button" class="ui-btn-left" data-icon="arrow-l" data-mini="true" data-inline="true">Back</a>
	<?endif;?>
	<?if ($home):?>
	<a href="<?=base_url()?>meals/" data-role="button" class="ui-btn-left" data-icon="home" data-mini="true" data-inline="true">Home</a>
	<?endif;?>
</div>
